package com.xyht.sca_s.student_manage_system.modules.dormitory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.SmsDormitoryBed;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryBedAddMyReq;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryBedAddReq;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryBedDeletedOwnershipReq;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryBedUpdateReq;

/**
 * <p>
 * 床号管理表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-01-08
 */
public interface SmsDormitoryBedService extends IService<SmsDormitoryBed> {

    ResponseResult addDormitoryBed(String userId, SmsDormitoryBedAddReq addReq);

    ResponseResult getDormitoryBedDetail(String id);

    ResponseResult updateDormitoryBed(SmsDormitoryBedUpdateReq updateReq);

    ResponseResult getDormitoryBedList(Integer pageNum, Integer pageSize, String dormitoryId, String stuName, String stuCollege, String stuMajor, String stuGrade, String stuClass, String bedNo, String feeStandards);

    ResponseResult getOrg(Integer type,Integer parentId);

    ResponseResult deletedDormitoryOwnership(SmsDormitoryBedDeletedOwnershipReq deletedOwnershipReq);

    ResponseResult getMyDormitoryBed(String userId);

    ResponseResult chooseDormitoryList(Integer pageNum, Integer pageSize,String userId);

    ResponseResult addMyDormitoryBed(SmsDormitoryBedAddMyReq addMyReq, String userId);
}
